<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/DomusDotNet.Sbm.Wcf.Requests" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/DomusDotNet.Sbm.Wcf.Requests" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:3912/SharedBookshelfService.svc?xsd=xsd4" namespace="http://schemas.datacontract.org/2004/07/DomusDotNet.Sbm.Wcf" />
  <xs:complexType name="LoginRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="LoginRequest" nillable="true" type="tns:LoginRequest" />
  <xs:complexType name="LogoutRequest">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:AuthenticatedRequestBase">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="LogoutRequest" nillable="true" type="tns:LogoutRequest" />
  <xs:complexType name="AuthenticatedRequestBase">
    <xs:sequence>
      <xs:element minOccurs="0" name="SessionGUID" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="AuthenticatedRequestBase" nillable="true" type="tns:AuthenticatedRequestBase" />
  <xs:complexType name="SearchBooksRequest">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:AuthenticatedRequestBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="AuthorFilter" nillable="true" type="xs:string" />
          <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/DomusDotNet.Sbm.Wcf" minOccurs="0" name="BookStatusesFilter" nillable="true" type="q1:ArrayOfBookStatus" />
          <xs:element minOccurs="0" name="PublishDateFromFilter" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="PublishDateToFilter" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="TitleFilter" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SearchBooksRequest" nillable="true" type="tns:SearchBooksRequest" />
  <xs:complexType name="BookReservationRequest">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:AuthenticatedRequestBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="BookId" type="xs:int" />
          <xs:element minOccurs="0" name="ReservationName" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="BookReservationRequest" nillable="true" type="tns:BookReservationRequest" />
</xs:schema>